<template>
    <div>
        <search></search>
        <lun></lun>

        <div v-for="item in floordata">
            <img :src="item.floor_title.image_src" alt="">
            <div v-for="items in item.product_list">
                <img :src="items.image_src" alt="">
            </div>
        </div>
    </div>
</template>

<script setup>
import search from '../components/search.vue';
import Lun from '@/components/Lun.vue';
import { ref } from 'vue';

const floordata = ref([]);
import { floorApi } from '@/api/api'
floorApi().then(res=>{
    console.log(res);
    floordata.value=res.data.message
})
</script>

<style lang="scss" scoped></style>